package entity_controllers.cards;

import core.subcontrollers.PlayerController;
import ie.FieldBoard;
import ie.PlayerBoard;
import ie.Shaker;
import dto.Player;
import entity_controllers.Card;

public class GotoJailCard extends Card {

	public GotoJailCard(String cardText) {
		super(cardText);
	}

	@Override
	public void execute(Player player, FieldBoard fieldBoard, PlayerBoard playerBoard, Shaker shaker) {

		PlayerController.setInJail(player, fieldBoard);

	}

}
